[INFO] cloning repository https://github.com/beta-ziliani/rust-macro-lang-generator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/beta-ziliani/rust-macro-lang-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeta-ziliani%2Frust-macro-lang-generator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeta-ziliani%2Frust-macro-lang-generator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fa0e8ac628e98532014cc47b27b9fa024cbc95f4
[INFO] fixing beta-ziliani/rust-macro-lang-generator against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeta-ziliani%2Frust-macro-lang-generator" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/beta-ziliani/rust-macro-lang-generator
[INFO] finished tweaking git repo https://github.com/beta-ziliani/rust-macro-lang-generator
[INFO] tweaked toml for git repo https://github.com/beta-ziliani/rust-macro-lang-generator written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/beta-ziliani/rust-macro-lang-generator on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/beta-ziliani/rust-macro-lang-generator already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a854469faa47600a4034940ba0f4b7deeee6dfb8f76bfc9db3a0439d75cab4e1
[INFO] running `Command { std: "docker" "start" "a854469faa47600a4034940ba0f4b7deeee6dfb8f76bfc9db3a0439d75cab4e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a854469faa47600a4034940ba0f4b7deeee6dfb8f76bfc9db3a0439d75cab4e1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a854469faa47600a4034940ba0f4b7deeee6dfb8f76bfc9db3a0439d75cab4e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a854469faa47600a4034940ba0f4b7deeee6dfb8f76bfc9db3a0439d75cab4e1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating crates/example/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling rust-ldw v0.1.0 (/opt/rustwide/workdir/crates/example)
[INFO] [stderr]    Migrating crates/example/build.rs from 2021 edition to 2024
[INFO] [stderr] warning: rust-ldw@0.1.0: Ok(Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "error: 'cargo-fmt' is not installed for the custom toolchain '622891a4e29178280638a6b63a8908bde2c0c854'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n" })
[INFO] [stderr]    Migrating crates/example/src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed crates/example/src/generated/l0_visitors.rs (2 fixes)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.17s
[INFO] [stderr] crater-edition-check: rust-ldw v0.1.0 (/opt/rustwide/workdir/crates/example) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling rust-ldw v0.1.0 (/opt/rustwide/workdir/crates/example)
[INFO] [stderr] warning: rust-ldw@0.1.0: Ok(Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "error: 'cargo-fmt' is not installed for the custom toolchain '622891a4e29178280638a6b63a8908bde2c0c854'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n" })
[INFO] [stderr] warning: rust-ldw@0.1.0: Ok(Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "error: 'cargo-fmt' is not installed for the custom toolchain '622891a4e29178280638a6b63a8908bde2c0c854'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n" })
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]  --> crates/example/src/generated/l0_visitors.rs:1:974
[INFO] [stdout]   |
[INFO] [stdout] 1 | ...atch self { Self :: Binary (ref x) => x . accept (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout]   |                                ^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]  --> crates/example/src/generated/l0_visitors.rs:1:958
[INFO] [stdout]   |
[INFO] [stdout] 1 | ...Visitor) { match self { Self :: Binary (ref x) => x . accept (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]   |
[INFO] [stdout] 1 - use std :: rc :: Rc ; use crate :: l0 :: * ; # [allow (dead_code)] pub trait Visitor { # [allow (unused)] fn enter_binary (& mut self , _target : & Binary) -> bool { true } # [allow (unused)] fn leave_binary (& mut self , _target : & Binary) { } # [allow (unused)] fn enter_value (& mut self , _target : & Value) -> bool { true } # [allow (unused)] fn leave_value (& mut self , _target : & Value) { } } impl crate :: l0 :: Binary { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_binary (self) { self . left . accept (visitor) ; self . right . accept (visitor) ; visitor . leave_binary (self) } } } impl crate :: l0 :: Value { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_value (self) { visitor . leave_value (self) } } } impl crate :: l0 :: Expr { # [allow (unused)] pub fn accept (& self , visitor : & mut dyn Visitor) { match self { Self :: Binary (ref x) => x . accept (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout] 1 + use std :: rc :: Rc ; use crate :: l0 :: * ; # [allow (dead_code)] pub trait Visitor { # [allow (unused)] fn enter_binary (& mut self , _target : & Binary) -> bool { true } # [allow (unused)] fn leave_binary (& mut self , _target : & Binary) { } # [allow (unused)] fn enter_value (& mut self , _target : & Value) -> bool { true } # [allow (unused)] fn leave_value (& mut self , _target : & Value) { } } impl crate :: l0 :: Binary { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_binary (self) { self . left . accept (visitor) ; self . right . accept (visitor) ; visitor . leave_binary (self) } } } impl crate :: l0 :: Value { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_value (self) { visitor . leave_value (self) } } } impl crate :: l0 :: Expr { # [allow (unused)] pub fn accept (& self , visitor : & mut dyn Visitor) { match self { Self :: Binary (x) => x . accept (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-ldw` (bin "rust-ldw" test) due to 2 previous errors
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]  --> crates/example/src/generated/l0_visitors.rs:1:1022
[INFO] [stdout]   |
[INFO] [stdout] 1 | ... (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout]   |                                ^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]  --> crates/example/src/generated/l0_visitors.rs:1:1007
[INFO] [stdout]   |
[INFO] [stdout] 1 | ... x . accept (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]   |
[INFO] [stdout] 1 - use std :: rc :: Rc ; use crate :: l0 :: * ; # [allow (dead_code)] pub trait Visitor { # [allow (unused)] fn enter_binary (& mut self , _target : & Binary) -> bool { true } # [allow (unused)] fn leave_binary (& mut self , _target : & Binary) { } # [allow (unused)] fn enter_value (& mut self , _target : & Value) -> bool { true } # [allow (unused)] fn leave_value (& mut self , _target : & Value) { } } impl crate :: l0 :: Binary { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_binary (self) { self . left . accept (visitor) ; self . right . accept (visitor) ; visitor . leave_binary (self) } } } impl crate :: l0 :: Value { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_value (self) { visitor . leave_value (self) } } } impl crate :: l0 :: Expr { # [allow (unused)] pub fn accept (& self , visitor : & mut dyn Visitor) { match self { Self :: Binary (ref x) => x . accept (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout] 1 + use std :: rc :: Rc ; use crate :: l0 :: * ; # [allow (dead_code)] pub trait Visitor { # [allow (unused)] fn enter_binary (& mut self , _target : & Binary) -> bool { true } # [allow (unused)] fn leave_binary (& mut self , _target : & Binary) { } # [allow (unused)] fn enter_value (& mut self , _target : & Value) -> bool { true } # [allow (unused)] fn leave_value (& mut self , _target : & Value) { } } impl crate :: l0 :: Binary { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_binary (self) { self . left . accept (visitor) ; self . right . accept (visitor) ; visitor . leave_binary (self) } } } impl crate :: l0 :: Value { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_value (self) { visitor . leave_value (self) } } } impl crate :: l0 :: Expr { # [allow (unused)] pub fn accept (& self , visitor : & mut dyn Visitor) { match self { Self :: Binary (ref x) => x . accept (visitor) , Self :: Value (x) => x . accept (visitor) , } } }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]  --> crates/example/src/generated/l0_visitors.rs:1:974
[INFO] [stdout]   |
[INFO] [stdout] 1 | ...atch self { Self :: Binary (ref x) => x . accept (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout]   |                                ^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]  --> crates/example/src/generated/l0_visitors.rs:1:958
[INFO] [stdout]   |
[INFO] [stdout] 1 | ...Visitor) { match self { Self :: Binary (ref x) => x . accept (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]   |
[INFO] [stdout] 1 - use std :: rc :: Rc ; use crate :: l0 :: * ; # [allow (dead_code)] pub trait Visitor { # [allow (unused)] fn enter_binary (& mut self , _target : & Binary) -> bool { true } # [allow (unused)] fn leave_binary (& mut self , _target : & Binary) { } # [allow (unused)] fn enter_value (& mut self , _target : & Value) -> bool { true } # [allow (unused)] fn leave_value (& mut self , _target : & Value) { } } impl crate :: l0 :: Binary { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_binary (self) { self . left . accept (visitor) ; self . right . accept (visitor) ; visitor . leave_binary (self) } } } impl crate :: l0 :: Value { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_value (self) { visitor . leave_value (self) } } } impl crate :: l0 :: Expr { # [allow (unused)] pub fn accept (& self , visitor : & mut dyn Visitor) { match self { Self :: Binary (ref x) => x . accept (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout] 1 + use std :: rc :: Rc ; use crate :: l0 :: * ; # [allow (dead_code)] pub trait Visitor { # [allow (unused)] fn enter_binary (& mut self , _target : & Binary) -> bool { true } # [allow (unused)] fn leave_binary (& mut self , _target : & Binary) { } # [allow (unused)] fn enter_value (& mut self , _target : & Value) -> bool { true } # [allow (unused)] fn leave_value (& mut self , _target : & Value) { } } impl crate :: l0 :: Binary { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_binary (self) { self . left . accept (visitor) ; self . right . accept (visitor) ; visitor . leave_binary (self) } } } impl crate :: l0 :: Value { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_value (self) { visitor . leave_value (self) } } } impl crate :: l0 :: Expr { # [allow (unused)] pub fn accept (& self , visitor : & mut dyn Visitor) { match self { Self :: Binary (x) => x . accept (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: rust-ldw@0.1.0: Ok(Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "error: 'cargo-fmt' is not installed for the custom toolchain '622891a4e29178280638a6b63a8908bde2c0c854'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n" })
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]  --> crates/example/src/generated/l0_visitors.rs:1:1022
[INFO] [stdout]   |
[INFO] [stdout] 1 | ... (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout]   |                                ^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]  --> crates/example/src/generated/l0_visitors.rs:1:1007
[INFO] [stdout]   |
[INFO] [stdout] 1 | ... x . accept (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]   |
[INFO] [stdout] 1 - use std :: rc :: Rc ; use crate :: l0 :: * ; # [allow (dead_code)] pub trait Visitor { # [allow (unused)] fn enter_binary (& mut self , _target : & Binary) -> bool { true } # [allow (unused)] fn leave_binary (& mut self , _target : & Binary) { } # [allow (unused)] fn enter_value (& mut self , _target : & Value) -> bool { true } # [allow (unused)] fn leave_value (& mut self , _target : & Value) { } } impl crate :: l0 :: Binary { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_binary (self) { self . left . accept (visitor) ; self . right . accept (visitor) ; visitor . leave_binary (self) } } } impl crate :: l0 :: Value { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_value (self) { visitor . leave_value (self) } } } impl crate :: l0 :: Expr { # [allow (unused)] pub fn accept (& self , visitor : & mut dyn Visitor) { match self { Self :: Binary (ref x) => x . accept (visitor) , Self :: Value (ref x) => x . accept (visitor) , } } }
[INFO] [stdout] 1 + use std :: rc :: Rc ; use crate :: l0 :: * ; # [allow (dead_code)] pub trait Visitor { # [allow (unused)] fn enter_binary (& mut self , _target : & Binary) -> bool { true } # [allow (unused)] fn leave_binary (& mut self , _target : & Binary) { } # [allow (unused)] fn enter_value (& mut self , _target : & Value) -> bool { true } # [allow (unused)] fn leave_value (& mut self , _target : & Value) { } } impl crate :: l0 :: Binary { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_binary (self) { self . left . accept (visitor) ; self . right . accept (visitor) ; visitor . leave_binary (self) } } } impl crate :: l0 :: Value { # [allow (unused)] pub fn accept (self : & Rc < Self > , visitor : & mut dyn Visitor) { if visitor . enter_value (self) { visitor . leave_value (self) } } } impl crate :: l0 :: Expr { # [allow (unused)] pub fn accept (& self , visitor : & mut dyn Visitor) { match self { Self :: Binary (ref x) => x . accept (visitor) , Self :: Value (x) => x . accept (visitor) , } } }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-ldw` (bin "rust-ldw") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "a854469faa47600a4034940ba0f4b7deeee6dfb8f76bfc9db3a0439d75cab4e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a854469faa47600a4034940ba0f4b7deeee6dfb8f76bfc9db3a0439d75cab4e1", kill_on_drop: false }`
[INFO] [stdout] a854469faa47600a4034940ba0f4b7deeee6dfb8f76bfc9db3a0439d75cab4e1
